home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 21
/
AMIGAplus Sonderheft 21 (1999)(ICP)(DE)[!].iso
/
PublicDomain
/
System
/
CentreQuest
/
InstallCentreQuest
< prev
next >
Wrap
Text File
|
1999-08-23
|
1KB
|
50 lines
;Install script for CentreQuest
;$VER: 1.0
FailAt 21
Resident C:RequestFile
Resident C:Copy
Version >NIL: VERSION=39
If WARN
Copy CentreQuest.guide.WB2.icon T:CentreQuest.guide.info
Else
Copy CentreQuest.guide.WB3.icon T:CentreQuest.guide.info
EndIf
RequestFile >ENV:CQDir DRAWER="SYS:WBStartup" TITLE="Select directory for CentreQuest program" DRAWERSONLY
If WARN
Skip Cleanup
EndIf
Copy >NIL: CentreQuest CentreQuest.info TestRequest TestRequest.info $CQDir
If WARN
SetENV CQError program
Skip Error
EndIf
RequestFile >ENV:CQDir DRAWER=HELP: TITLE="Select directory for CentreQuest guide" DRAWERSONLY
If WARN
Skip Cleanup
EndIf
Copy >NIL: CentreQuest.guide T:CentreQuest.guide.info $CQDir
If WARN
SetENV CQError guide
Skip Error
EndIf
Lab Cleanup
UnSetENV CQDir
Delete T:CentreQuest.guide.info QUIET
Resident C:RequestFile REMOVE
Resident C:Copy REMOVE
Quit
Lab Error
If EXISTS C:RequestChoice
RequestChoice >NIL: TITLE="CentreQuest Installer" BODY="Error copying $CQError" GADGETS="Exit"
Else
Echo "Error copying $CQError" TO "CON:////CentreQuest Installer/CLOSE/NOSIZE/WAIT"
EndIf
UnSetENV CQError
Skip Cleanup BACK